package com.wyt.dao;

import com.wyt.entity.HistoryOrder1;
import com.wyt.entity.Purchase1;

import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface HistoryOrderMapper1 {
    int deleteByPrimaryKey(Integer hId);

    int insert(HistoryOrder1 record);

    int insertSelective(HistoryOrder1 record);

    HistoryOrder1 selectByPrimaryKey(Integer hId);

    int updateByPrimaryKeySelective(HistoryOrder1 record);

    int updateByPrimaryKey(HistoryOrder1 record);

    List<Purchase1> selectAllHistory(@Param("ename") String ename, @Param("beginTime") String beginTime, @Param("endTime") String endTime);
}